package com.scau.meetingbook.service;

import com.scau.meetingbook.dto.CancellationRequestDTO;
import com.scau.meetingbook.pojo.CancellationRequests;
import com.baomidou.mybatisplus.extension.service.IService;
import com.scau.meetingbook.vo.ResultVO;
import java.util.List;

public interface CancellationRequestsService extends IService<CancellationRequests> {
    ResultVO insertCancellationRequests(CancellationRequests cancellationRequests) throws Exception;
    ResultVO<CancellationRequests> getCancellationRequestsById(Integer id) throws Exception;
    ResultVO updateCancellationRequestsById(CancellationRequests cancellationRequests) throws Exception;
    ResultVO deleteCancellationRequestsById(Integer id) throws Exception;

    ResultVO createCancellationRequests(CancellationRequests cancellationRequests);

    ResultVO auditCancellationRequests(Integer requestId);

    ResultVO rejectCancellationRequests(Integer requestId);
    ResultVO<List<CancellationRequestDTO>> getAllCancellationRequests();
}